TIME=`date "+%Y.%m.%d.%H.%M"`
IMAGE_NAME=zgy-gen
IMAGE_TAG=${TIME}


docker build --build-arg JAR_FILE=IC-modules-gen.jar -t ${IMAGE_NAME}:${IMAGE_TAG} .
docker run -dit --name zgy-gen -p 9202:9202 ${IMAGE_NAME}:${IMAGE_TAG}

echo "${IMAGE_NAME}:${IMAGE_TAG}" > IMAGE
